/**
 * 
 */
package org.meruvian.yama.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author vick
 *
 */
@Controller
public class Index {

	@RequestMapping(value="/",method=RequestMethod.GET)
	public ModelAndView index(HttpServletRequest request, HttpServletResponse response) {
		return new ModelAndView("index");
	    //return new ModelAndView(new RedirectView(request.getContextPath()+"/person"));
	}
	
}
